package com.common.config;

import org.influxdb.InfluxDB;
import org.influxdb.impl.InfluxDBMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @className: InfluxdbConfig
 * @description: Influxdb配置类
 * @author: Li Chuanwei
 * @date: 2024/03/31 16:54
 * @Company: Copyright [日期] by [作者或个人]
 **/
@Configuration
public class InfluxdbConfig {
    @Bean
    public InfluxDBMapper influxDBMapper(InfluxDB influxDB) {
        return new InfluxDBMapper(influxDB);
    }
}
